package com.bw.ppjokeplay.common.bind

import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bw.ppjokeplay.common.network.LoadImage

class ImgBind {

    companion object{

        @BindingAdapter(value = ["imgSrc"])
        fun bindLoadImg(img : ImageView,imgSrc : String){
            LoadImage.loadMatchImg(imgSrc,img)
        }

    }

}